package com.myaxuan.mapper.permissions;



import com.myaxuan.entity.permissions.Role;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;


@Mapper
@Repository
public interface RoleMapper {
    int deleteByPrimaryKey(@Param("roleId") String roleId);

    int insertSelective(Role record);

    int updateByPrimaryKeySelective(Role record);

    List<Role> findAll();

    Role selectByPrimaryKey(String id);
}